<?php

	require_once("../config/database.php");
	
	session_start();

	Logger("Logout", @$_SESSION['user']['login']);
	
	unset($_SESSION['user']['uid'],$_SESSION["user"]["login"],$_SESSION["user"]["permissao"]);
	session_destroy();
	header("Location:../index.php");
?>
